#include "testSendData.h"

#include <qDebug>
#include <QVariantMap>
#include "..\GlobalNotification\GlobalNotification.h"
testSendData::testSendData(QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	QVariantMap data;
	data["hello"] = "world";
	GlobalNotification::defaultCenter()->postNotification("hello",this, &data);
	qDebug() <<"return data: " << data["hello"].toString();
}

testSendData::~testSendData()
{}
